import urllib.request

# 下载文件
url_list = [
   'https://labfile.oss.aliyuncs.com/courses/791/my_data.xlsx',
   'https://labfile.oss.aliyuncs.com/courses/791/phase_detector.xlsx',
   'https://labfile.oss.aliyuncs.com/courses/791/phase_detector2.xlsx'
]

for url in url_list:
    filename = url.split('/')[-1] # 获取文件名
    print(f'Downloading {url}...')
    urllib.request.urlretrieve(url, filename)
    print(f'Saved as {filename}')